package com.yunxi.model.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单实销表
 * </p>
 *
 * @author 
 * @since 2019-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_order_actual_sales")
@ApiModel(value="OrderActualSales对象", description="订单实销表")
public class OrderActualSales implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ORDER_CUSTOMER_ID", type = IdType.UUID)
    private String orderCustomerId;

    @ApiModelProperty(value = "客户id")
    @TableField("CUSTOMER_ID")
    private String customerId;

    @ApiModelProperty(value = "客户名称")
    @TableField("CUSTOMER_NAME")
    private String customerName;

    @ApiModelProperty(value = "客户类型")
    @TableField("CUSTOMER_TYPE")
    private String customerType;

    @ApiModelProperty(value = "统一社会信用代码")
    @TableField("UNIT_SOCIAL_CREDIT_CODE")
    private String unitSocialCreditCode;

    @ApiModelProperty(value = "法人")
    @TableField("LEGAL_PERSON")
    private String legalPerson;

    @ApiModelProperty(value = "采购人员")
    @TableField("BUYER_PERSON")
    private String buyerPerson;

    @ApiModelProperty(value = "证件类型")
    @TableField("ID_TYPE")
    private String idType;

    @ApiModelProperty(value = "证件号")
    @TableField("ID_NUMBER")
    private String idNumber;

    @ApiModelProperty(value = "性别")
    @TableField("SEX")
    private String sex;

    @ApiModelProperty(value = "年龄")
    @TableField("AGE")
    private Integer age;

    @ApiModelProperty(value = "公司电话")
    @TableField("COMPANY_PHONE")
    private String companyPhone;

    @ApiModelProperty(value = "手机电话")
    @TableField("PHONE")
    private String phone;

    @ApiModelProperty(value = "email")
    @TableField("EMAIL")
    private String email;

    @ApiModelProperty(value = "地址")
    @TableField("ADDRESS")
    private String address;

    @ApiModelProperty(value = "销售顾问姓名")
    @TableField("SALE_ASSIST")
    private String saleAssist;

    @ApiModelProperty(value = "车辆销售状态")
    @TableField("CAR_SALE_STATUS")
    private String carSaleStatus;

    @ApiModelProperty(value = "VIN")
    @TableField("VIN")
    private String vin;

    @ApiModelProperty(value = "省")
    @TableField("SALE_PROVINCE")
    private String saleProvince;

    @TableField("SALE_PROVINCE_NAME")
    private String saleProvinceName;

    @TableField("SALE_CITY_NAME")
    private String saleCityName;

    @ApiModelProperty(value = "市")
    @TableField("SALE_CITY")
    private String saleCity;

    @TableField("SALE_COUNTRY_NAME")
    private String saleCountryName;

    @ApiModelProperty(value = "区")
    @TableField("SALE_COUNTRY")
    private String saleCountry;

    @ApiModelProperty(value = "车牌号")
    @TableField("CAR_NO")
    private String carNo;

    @ApiModelProperty(value = "销售网店编号")
    @TableField("SALE_INTERNET_NO")
    private String saleInternetNo;

    @ApiModelProperty(value = "销售网店名称")
    @TableField("SALE_INTERNET_NAME")
    private String saleInternetName;

    @ApiModelProperty(value = "销售价格")
    @TableField("SALE_PRICE")
    private String salePrice;

    @ApiModelProperty(value = "选装包价格")
    @TableField("PACKAGE_PRICE")
    private String packagePrice;

    @ApiModelProperty(value = "车辆用途")
    @TableField("CAR_USED")
    private String carUsed;

    @ApiModelProperty(value = "客户建档日期")
    @TableField("CREATE_RECORD_DATE")
    private String createRecordDate;

    @ApiModelProperty(value = "开票日期")
    @TableField("OPEN_INVOICE_DATE")
    private String openInvoiceDate;

    @ApiModelProperty(value = "出库日期")
    @TableField("OUT_TIME")
    private String outTime;

    @ApiModelProperty(value = "发票号")
    @TableField("INVOICE_NO")
    private String invoiceNo;

    @ApiModelProperty(value = "紧急联系人")
    @TableField("URGENT_NAME")
    private String urgentName;

    @ApiModelProperty(value = "紧急联系人电话")
    @TableField("URGENT_PHONE")
    private String urgentPhone;

    @ApiModelProperty(value = "公司名称")
    @TableField("COMPANY")
    private String company;

    @ApiModelProperty(value = "公司地址")
    @TableField("COMPANY_ADDR")
    private String companyAddr;

    @ApiModelProperty(value = "准驾类型")
    @TableField("DRIVER_LICENSE_TYPE")
    private String driverLicenseType;

    @ApiModelProperty(value = "驾驶证有效")
    @TableField("DRIVER_LICENSE_VALIDATE")
    private String driverLicenseValidate;

    @ApiModelProperty(value = "法人手机")
    @TableField("LEGAL_PERSON_PHONE")
    private String legalPersonPhone;

    @ApiModelProperty(value = "驾驶证件号")
    @TableField("DRIVER_LICENSE_NO")
    private String driverLicenseNo;

    @ApiModelProperty(value = "实际营运地址")
    @TableField("OPERATION_ADDR")
    private String operationAddr;

    @ApiModelProperty(value = "实际存放地址")
    @TableField("STORE_ADDR")
    private String storeAddr;

    @ApiModelProperty(value = "车辆状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "渠道商编号")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "渠道商手机")
    @TableField("PARTNER_PHONE")
    private String partnerPhone;

    @ApiModelProperty(value = "渠道商地址")
    @TableField("PARTNER_ADDR")
    private String partnerAddr;

    @ApiModelProperty(value = "渠道商联系人")
    @TableField("PARTNER_LINK_MAN")
    private String partnerLinkMan;

    @ApiModelProperty(value = "车系代码")
    @TableField("BRAND_CODE")
    private String brandCode;

    @ApiModelProperty(value = "车系名称")
    @TableField("BRAND_NAME")
    private String brandName;

    @ApiModelProperty(value = "车型代码")
    @TableField("VEHICLE_CODE")
    private String vehicleCode;

    @ApiModelProperty(value = "车型名称")
    @TableField("VEHICLE_NAME")
    private String vehicleName;

    @ApiModelProperty(value = "外饰代码")
    @TableField("COLOR_OUT_CODE")
    private String colorOutCode;

    @ApiModelProperty(value = "外饰名称")
    @TableField("COLOR_OUT_NAME")
    private String colorOutName;

    @ApiModelProperty(value = "内饰代码")
    @TableField("COLOR_INNER_CODE")
    private String colorInnerCode;

    @ApiModelProperty(value = "内饰名称")
    @TableField("COLOR_INNER_NAME")
    private String colorInnerName;

    @ApiModelProperty(value = "电机序列号")
    @TableField("ENGUNE_NO")
    private String enguneNo;

    @ApiModelProperty(value = "电机号")
    @TableField("MOTOR_NO")
    private String motorNo;

    @ApiModelProperty(value = "定金")
    @TableField("FRONT_MONEY")
    private BigDecimal frontMoney;

    @ApiModelProperty(value = "价格")
    @TableField("PRICE")
    private BigDecimal price;

    @ApiModelProperty(value = "价格折扣类型")
    @TableField("PRICE_TYPE_NAME")
    private String priceTypeName;

    @ApiModelProperty(value = "价格折扣值")
    @TableField("PRICE_TYPE_VALUE")
    private String priceTypeValue;

    @ApiModelProperty(value = "结算类型嗲吗")
    @TableField("SETTLEMENT_TYPE_CODE")
    private String settlementTypeCode;

    @ApiModelProperty(value = "特殊配置标识")
    @TableField("SPECIAL_CONFIG")
    private String specialConfig;

    @ApiModelProperty(value = "牌照号")
    @TableField("LICENSE_PLATE_NUMBER")
    private String licensePlateNumber;

    @ApiModelProperty(value = "年检日期")
    @TableField("YEARLY_INSPECTION_DATE")
    private String yearlyInspectionDate;

    @ApiModelProperty(value = "年检周期")
    @TableField("YEARLY_INSPECTION_CYCLE")
    private String yearlyInspectionCycle;

    @ApiModelProperty(value = "合格证号")
    @TableField("CERT_NO")
    private String certNo;

    @ApiModelProperty(value = "交车日期")
    @TableField("INTERCHANGE")
    private Date interchange;

    @ApiModelProperty(value = "上牌日期")
    @TableField("CARD_DATE")
    private Date cardDate;

    @ApiModelProperty(value = "保险起始日期")
    @TableField("INSURANCE_DATE_RANGE")
    private String insuranceDateRange;

    @ApiModelProperty(value = "公告车型号")
    @TableField("INVOICE_VEHICLE_TYPE")
    private String invoiceVehicleType;

    @ApiModelProperty(value = "开户帐号")
    @TableField("BANK_ACCOUNT")
    private String bankAccount;

    @ApiModelProperty(value = "开户行")
    @TableField("BANK")
    private String bank;

    @ApiModelProperty(value = "发票编号")
    @TableField("INVOICE_BO")
    private String invoiceBo;

    @ApiModelProperty(value = "发票税率")
    @TableField("INVOICE_RATE")
    private BigDecimal invoiceRate;

    @ApiModelProperty(value = "保险公司")
    @TableField("INSURER_NO")
    private String insurerNo;

    @ApiModelProperty(value = "购买险种")
    @TableField("INSURER_TYPE")
    private String insurerType;

    @ApiModelProperty(value = "零售单编号")
    @TableField("ORDER_CUSTOMER_NO")
    private String orderCustomerNo;

    @ApiModelProperty(value = "是否上报")
    @TableField("IS_REPORTED")
    private Integer isReported;

    @ApiModelProperty(value = "*电池序列号")
    @TableField("BETTARY_CODE")
    private String bettaryCode;

    @ApiModelProperty(value = "*电控序列号")
    @TableField("ELECTRONIC_CONTROL")
    private String electronicControl;

    @ApiModelProperty(value = "是否购买服务包0否1是")
    private String isBuyServicePack;

    @ApiModelProperty(value = "购车类型/是否购买保险Y/N（APP暂时未给到PMS）")
    private String buyCarType;

    @ApiModelProperty(value = "使用人")
    private String user;

    @ApiModelProperty(value = "使用人电话")
    private String userPhone;

    @ApiModelProperty(value = "选装包代码")
    private String customPackCode;

    @ApiModelProperty(value = "选装包名称")
    private String customPackName;
}
